<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Relatorio</title>
	<link rel="stylesheet" type="text/css" href="../css/basic.css">
</head>
<body>
<html:form action="/Relatorio/Relatorio.do" method="POST">
<html:hidden property="codigo" value="01"/>

<logic:notPresent name="list">
	<table border="0">
		<tr>
			<td>Nome do &aacute;lbum:</td>
			<td><html:select property="codigoAlbum" styleId="codigoAlbum">
					<html:option value="" />
					<html:options collection="listAlbuns" property="codigo" labelProperty="nome"/>
				</html:select>
			</td>
		</tr>
		<tr>
			<td></td>
			<td align="center"><html:submit property="btnRelatorio" value=" Gerar Relat&oacute;rio " /></td>
		</tr>
	</table>
</logic:notPresent>

<logic:present name="list">
		<table border="0">
			<tr>
				<td><strong>Usu&aacute;rio<strong></td>
			</tr>
			<logic:iterate name="list" id="figurinhaUsuarioDTO">
				<tr>
					<td><bean:write name="figurinhaUsuarioDTO" property="apelido"/></td>
				</tr>
			</logic:iterate>
		</table>
	<br><br>
	<a href="../Relatorio/PrepareRelatorio.do?codigo=01">Voltar</a>
</logic:present>


</html:form>
</body>
</html>